import requests

url = "http://localhost:8101/process"

payload = {
    "input": r"/preprocess_project/files",
    "chunk_size": 800,
    "chunk_overlap": 150,
    "use_cpu_only": True
}

headers = {
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print("Status Code:", response.status_code)
print("Response JSON:", response.json())
